<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>管理员登录</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
    integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  <style>
    .login-dialog {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -35px;
      margin-left: -200px;
      background-color: rgb(226, 226, 226);
      padding: 20px;
      border-radius: 10px;

    }
  </style>
</head>

<body>
  <div class="login-dialog">
    <form class="form-inline" action="/admin/login" method="post">
      <div class="form-group">
        <label class="sr-only" for="exampleInputEmail3">用户名</label>
        <input type="text" class="form-control" name="username" id="exampleInputEmail3" placeholder="输入你的用户名">
      </div>
      <div class="form-group">
        <label class="sr-only" for="exampleInputPassword3">密码</label>
        <input type="password" class="form-control" name="password" id="exampleInputPassword3" placeholder="输入你的密码">
      </div>
      <button type="submit" class="btn btn-default">登录</button>
    </form>
  </div>
</body>

</html>